package com.lwx.file;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;

public class PropertiesMain {
    private static Properties props = new Properties();
    static{
        try {
            props.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("config.properties"));
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    public static void main(String[] args) {
    }
}
